﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XXX.Models
{
    public class UserInfo
    {
        /// <summary>
        /// 人员ID,后台记录，更改密码用
        /// </summary>
        public int iUserId { get; set; }
        /// <summary>
        /// 人员编码
        /// </summary>
        public string CUserId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string CUserName { get; set; }

        //角色，数组
        public string[] CRole { get; set; }
        //部门编码
        public string CDepCode { get; set; }

        public DateTime DLogDate { get; set; }

        public int isAdmin { get; set; }
        //public UserInfo(string cUserId,string cUserName,string[] cRole,string cDepCode,DateTime dLogDate)
        //{
        //    CUserId = cUserId;
        //    CUserName = cUserName;
        //    CRole = cRole;
        //    CDepCode = cDepCode;
        //    DLogDate = dLogDate;


        //}
    }
}
